package HookDemo;

 class TaskThread extends Thread {
	        public void run() {
	            try {
					System.out.println("thread begin ...");
					Thread.sleep(1000);
					System.out.println("task 1 ok ...");
					Thread.sleep(1000);
					System.out.println("task 2 ok ...");
					Thread.sleep(1000);
					System.out.println("task 3 ok ...");
					Thread.sleep(1000);
					System.out.println("task 4 ok ...");
					Thread.sleep(1000);
					System.out.println("task 5 ok ...");
				} catch (Exception e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}

	            System.out.println("thread end\n\n");
	        }
	    }